import http from '@/utils/http'

//获取学生实验基本介绍列表
export async function getInstrumentApi(params) {
  return await http.get("/instrument", params)
}

//修改实验内容
export async function updateInstrumentApi(params) {
  return await http.put("/instrument",params)
}

export async function addInstrumentApi(params) {
  return await http.post("/instrument",params)
}

export async function getClassListApi() {
    return await http.get("/common/class")
  }

  export async function deleteInstrumentApi(params) {
    return await http.delete("/instrument",params)
  }